package com.tarena.lbs.business.service;

import com.tarena.lbs.base.protocol.exception.BusinessException;
import com.tarena.lbs.base.protocol.pager.PageResult;
import com.tarena.lbs.business.pojo.param.BusinessParam;
import com.tarena.lbs.business.pojo.query.BusinessQuery;
import com.tarena.lbs.business.pojo.vo.BusinessStoreVO;
import com.tarena.lbs.business.pojo.vo.BusinessVO;
import com.tarena.lbs.common.exception.ServiceException;

import java.util.List;

public interface BusinessService {

    Integer save(BusinessParam param) throws ServiceException;

    BusinessStoreVO getBusinessById(Integer businessId) throws ServiceException;

    PageResult<BusinessVO> selectList(BusinessQuery query) throws ServiceException;
}
